package com.cloudm.technician.ui.modules.cloudm_box.change_info

import com.cloudm.technician.data.model.DeviceInfo
import com.cloudm.technician.ui.base.BasePresenter
import com.cloudm.technician.ui.base.BaseView

/**
 * 作者: wesley
 * 时间: 2017/12/25
 * 描述: 更换信息的协议接口
 */
interface ChangeInfoContract {

    interface View : BaseView {


        fun changeBoxFailure(errorMsg: String)

        fun changeBoxSuccess(info: DeviceInfo)

        fun showDeviceInfoEmpMsg()

        fun showChangeBoxDialog()

        fun hideChangeBoxDialog()

    }

    interface Presenter : BasePresenter {


        fun changeCloudBox(deviceId: Int, sn: String)
    }
}